home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / utilities / isan.lha / ISAN / ISAN.config < prev    next >
Text File  |  1994-01-10  |  3KB  |  92 lines

  1. ****************************************************************************
  2. * "ISAN" © Instruction Stream ANalyzer Configuration file
  3. * Format: Base Opcode, Don't Care Mask, Instruction Name (no spaces please)
  4. * (Any lines not starting with a '$' are ignored)
  5. ****************************************************************************
  6.  
  7.  
  8. * The following two lines work but can be achieved automatically (and more
  9. * efficiently) by adding the "TOTAL" command line switch.
  10.  
  11. *$0000,$FFFF,"  -- TOTAL --  "    ;OUCH !! matches all 64K combinations!
  12. *$FFFF,$0000,"---------------"
  13.  
  14. *---------------------------------------------------------------------
  15. * WATCH HOW YOU USE THE DON'T CARE MASK FIELD, THE MORE 1s IN IT, THE
  16. * SLOWER "ISAN" WILL BE AT UPDATING ITS WINDOW !!
  17. *    |
  18. *    |
  19. *    V
  20. *---------------------------------------------------------------------
  21.  
  22. * /--------------------    Opcode template
  23. * |
  24. * |     /--------------    Opcode "don't care" mask (any 1 bits can be either 1 or 0)
  25. * |     |
  26. * |     |     /-------- Opcode Label (give it anything you want !)
  27. * V     V     V
  28.  
  29. $6100,$00FF,"BSR"        ;does it have loads of user routines ?
  30. $4E75,$0000,"RTS"        ;program broken down in many subroutines ?
  31.  
  32. $2C78,$0000,"MOVE.L short,a6"    ;does program get _AbsExecBase often ?
  33. $4EAE,$0000,"JSR offs(A6)"    ;does program call system often ?
  34. $4E55,$0000,"LINK #x,A5"    ;is it likely to be C (creation of dynamic vars)
  35. $4E5D,$0000,"UNLK A5"        ;is it likely to be C ? (freeing of dyna vars)
  36. $4878,$0000,"PEA short"
  37. $4879,$0000,"PEA long"
  38.  
  39. $10C0,$0E07,"MOVE.B Dn,(An)+"    ;lots of character based operations ?
  40. $1018,$0E07,"MOVE.B (An)+,Dn"    ;
  41. $10D8,$0E07,"MOVE.B (An)+,(An)+" ;copying a lot of stuff ?
  42.  
  43. $48E7,$0000,"MOVEM.L list,-(SP)" ;scared to corrupt registers ?
  44. $4CDF,$0000,"MOVEM.L (SP)+,list"
  45.  
  46. $13C0,$0007,"MOVE.B Dn,abs long" ;writing to byte I/O registers ?
  47.  
  48. $7000,$0E00,"MOVEQ #0,Dn"    ;uses constant 0 a lot ?
  49. $7001,$0E00,"MOVEQ #1,Dn"    ;uses constant 1 a lot ?
  50. $7002,$0E00,"MOVEQ #2,Dn"    ;uses constant 2 a lot ?
  51. $70FF,$0E00,"MOVEQ #-1,Dn"    ;uses constant -1 a lot ?
  52. $7000,$0EFF,"MOVEQ #X,Dn"    ;uses MOVEQ in general ?
  53.  
  54. $51C8,$0007,"DBRA Dn,label"    ;SUB/BNE or DBRA ?
  55.  
  56. $5040,$0E07,"ADDQ.W #X,Dn"    ;does it use the quick forms or not *?
  57. $508F,$0EC0,"ADDQ.x #X,SP"    ;does it use controlled garbage accumulation?*
  58.  
  59. $4EB8,$0000,"JSR abs short"    ;jsr to short 64K address space ?? (virus ?)
  60. $4EB9,$0000,"JSR abs long"    ;relocatable only because of LoadSeg() !
  61.  
  62. $6000,$0000,"BRA.L"        ;does it have lots of inefficient branches ?
  63. $6600,$00FF,"BNE"
  64. $6700,$00FF,"BEQ"
  65. $6400,$00FF,"BCC"
  66. $6500,$00FF,"BCS"
  67. $6A00,$00FF,"BPL"
  68. $6B00,$00FF,"BMI"
  69. $4A80,$0007,"TST.L Dn"        ;probably not assembler ...(MOVEs set flags)
  70. $E508,$00C7,"LSL.x #2,Dn"    ;doing manual index scaling ? (not 020 code)
  71.  
  72. $80FC,$0E3F,"DIVU ea,Dn"    ;aha... need to convert to decimal maybe ?
  73. $81FC,$0E3F,"DIVS ea,Dn"
  74. $C0FC,$0E3F,"MULU ea,Dn"
  75. $C1FC,$0E3F,"MULS ea,Dn"
  76.  
  77. $4E76,$0000,"TRAPV"        ;is it compiled HLL with run-time checks on ?
  78. $4E40,$000F,"TRAP #X"
  79. $4840,$0007,"SWAP Dn"
  80. $0800,$003F,"BTST"
  81. $0840,$003F,"BCHG"
  82. $0880,$003F,"BCLR"
  83. $08C0,$003F,"BSET"
  84.  
  85. $4E71,$0000,"NOP"        ;time to waste.. (not on MY machine you have!)
  86.                 ;or internal CPU syncing.
  87. $4E54,$0000,"LINK #x,A4"    ;
  88. $4E5C,$0000,"UNLK A4"        ;
  89. $0000,$0000,"OR.B #x,D0"    ;range snooping debugging examples
  90. $0001,$0000,"OR.B #x,D1"
  91. $0001,$0001,"OR.B #x,D0-D1"
  92.